package cn.gmcx.lazy.izze.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comments {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    @Size(max = 300 ,message = "长度超出范围")
    private String message;
    private String imgUrl;
    private Integer videoId;
    private Integer praise;
    private Integer disLike;

    private Integer parentId;
    private Date creatTime;
}
